{wz}
<div class="add_box"　style="border: 1px solid #89A5C5;">
<table cellspacing="0" cellpadding="0" class="add_table">
    <tbody> 
         <tr>
    			<th>
    			<div class="titleth">
    				<div class="titlefl">{$lang.sale_order_basic}</div>
    				<div class="afr">{$lang.sale_no}：{$rs.sale_order_no}</div>
    			</div></th>
    		</tr>
         <tr><td>
         <div class="basic_tb">
         <ul>  
			<li>{$lang.client_name}： {$rs.client_name}</li>
 {company  type="li" title=$lang.basic_name
hidden=['name'=>'basic_id','id'=>'basic_id']
name='basic_name' value=$rs.basic_name view=true
}
			{currency data=C('CLIENT_CURRENCY') name="currency_id" id="currency_id" value=$rs.currency_id type='li' title=$lang.currency_name require="" view=true}
			<li>{$lang.sale_date}：{$rs.fmd_order_date}</li>
			{if C('sale.relation_sale_follow_up')==1}
				<li>{$lang.expect_shipping_date}：{$rs.fmd_expect_shipping_date}</li> 
			{/if}
		 </ul>
         </div>
         </td></tr>   
          <tr><th>{$lang.sale_order_detail}</th></tr>   
          <tr><td>{include file="SaleOrder/detail.tpl"}</td></tr>
          {if $rs.delivery.list}
          <tr><th>{$lang.delivery_order_detail}</th></tr>   
          <tr><td>{include file="SaleOrder/detail_delivery.tpl"}</td></tr> 
          {/if}
         
          <tr><td valign="top" class="b_top">
          
				<table width="100%" border="0" cellspacing="0" cellpadding="0" class="add_table_money">
				  <tr>
				    <td class="b_top t_right">{$lang.preferential_money}：</td>
				    <td width="121" class="b_top t_right_red"><span>{$rs.dml_pr_money}</span></td>
				  </tr>
				    <tr id="sale_funds_after">
				    <td class="b_top t_right" >{$lang.after_preferential_money}：</td>
				    <td class="b_top t_right_red" id="after_preferential_money"><span>{$rs.real_money}<span></td>
				  </tr> 
				  </table> 
				  {include file="Accounts/sale_funds_list_view.tpl"}

				  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="add_table_money">
				  <tr id="payadd">
				    <td class="t_right b_top">{$lang.need_get_money1}：</td>
				    <td class="b_top t_right" width="121"><span class="t_right_red" id="need_get_money">{$rs.fund.sale_order_paid.dml_need_paid}</span><input type="hidden" id="old_need_get_money" value="0"></td>
				  </tr> 
				  </table>
				  
				  
          </td></tr>
          <tr><td class="pad_top_10">
	          <table width="100%" cellspacing="0" cellpadding="0" border="0">
				<tbody>
					<tr>
					<td width="10%" valign="top" >{$lang.upload_pic}：</td>
					<td class="t_left" valign="top">
						{if $rs.pics}
							{showFiles from=$rs.pics }
						{/if}</td>
					<td width="10%" valign="top">{$lang.receive_addr}：</td>
					<td class="t_left" width="25%" valign="top">{$rs.receive_addr}</td>
					<td width="10%" valign="top">{$lang.comments}：</td>
					<td class="t_left" width="25%" valign="top">{$rs.comments}</td>
					</tr>
				</tbody>
			 </table>
      </td></tr>                      
   </tbody>          
  </table> 
  {staff add_user="`$rs.add_real_name`" create="`$rs.fmd_create_time`" id="`$rs.add_user`"} 
</div> 
